<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./../admin/css/addmenu.css">
    <script src="./../admin/layui/layui.js"></script>
    <script src="./../admin/js/addmenu.js"></script>
</head>
<body>
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
        <legend>菜单添加功能</legend>
      </fieldset>
       
      <form class="layui-form" action="" lay-filter="example">
        <div class="layui-form-item">
          <label class="layui-form-label">菜单名称</label>
          <div class="layui-input-block">
            <input type="text" name="m_name" lay-verify="title" autocomplete="off" placeholder="请输入菜单名称" class="layui-input">
          </div>
        </div>
        <div class="layui-form-item">
          <label class="layui-form-label">菜单路径</label>
          <div class="layui-input-block">
            <input type="text" name="m_url" placeholder="请输入菜单路径" autocomplete="off" class="layui-input">
          </div>
        </div>
        
        <div class="layui-form-item">
          <label class="layui-form-label">菜单编号</label>
          <div class="layui-input-block">
              <input type="text" name="m_num" placeholder="请输入菜单编号" autocomplete="off" class="layui-input">
          </div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label">父级菜单</label>
            <div class="layui-input-block">
                <input type="text" name="m_parent" placeholder="请输入菜单状态" autocomplete="off" class="layui-input">
            </div>
          </div>

        <div class="layui-form-item">
          <label class="layui-form-label">菜单图标</label>
          <div class="layui-input-block">
              <input type="text" name="m_icon" placeholder="菜单图标" autocomplete="off" class="layui-input">
          </div>
        </div>
        <div class="layui-form-item layui-form-text">
          <label class="layui-form-label">菜单序号</label>
          <div class="layui-input-block">
              <input type="text" name="m_orderby" lay-verify="m_orderby" placeholder="菜单序号" autocomplete="off" class="layui-input">
          </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">菜单状态</label>
            <div class="layui-input-block">
              <input type="checkbox" name="m_status" lay-skin="switch" lay-filter="switchTest" value="0" lay-text="ON|OFF">
            </div>
          </div>
       
        <div class="layui-form-item">
          <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
          </div>
        </div>
      </form>
</body>
</html>